package com.xiaoyung.easyisapisdk.feign.api.auth;

import com.xiaoyung.easyisapisdk.common.auth.request.GetOpenApiTokenParam;
import com.xiaoyung.easyisapisdk.common.auth.response.TokenInfoResponse;

import feign.Headers;
import feign.RequestLine;

/**
 * token 服务
 *
 */
public interface OpenApiTokenApi {
	/**
	 * 获取openapi访问token
	 */
	@Headers("Content-Type: application/json")
	@RequestLine("POST /auth/openapi/getToken")
	public TokenInfoResponse getToken(GetOpenApiTokenParam param) ;
}

